<%--
  Created by IntelliJ IDEA.
  User: 17400
  Date: 2023/6/15
  Time: 15:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>Error</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            margin: 0;
            padding: 0;
            background-color: #f3f3f3;
        }
        .error-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        h1 {
            font-size: 2em;
            color: #dc3545;
        }
        p {
            margin: 1em 0;
        }
        a {
            color: #007BFF;
            text-decoration: none;
            padding: 0.5em 1em;
            border: 1px solid #007BFF;
            border-radius: 5px;
        }
    </style>
</head>
<body>
<div class="error-container">
    <h1>出错啦！</h1>
    <p>对不起，你的请求出现了错误。</p>
    <p>错误信息:${ex.message}</p>
    <a href="/">返回首页</a>
</div>
</body>
</html>

